package javawdw.security.dao;

import org.springframework.dao.DataAccessException;
import org.springframework.dao.DataRetrievalFailureException;

import javawdw.security.entity.RoleResource;

public interface RoleResourceDao extends CommonDao<RoleResource> {
	void deleteByResourceId(String resourceId) throws DataAccessException,
			DataRetrievalFailureException, IllegalArgumentException;
	void deleteByRoleId(String roleId) throws DataAccessException,
		DataRetrievalFailureException, IllegalArgumentException;
}